package com.jie.deletefile.SlidingMenu;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import com.jie.deletefile.R;

/**
 * Created by Administrator on 2016/11/22 0022.
 */
public class FirstFragment extends Fragment implements View.OnClickListener {

    private Button frag_f;
    private Button frag_s;
    private Activity activity;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View view = inflater.inflate(R.layout.fragment_first, null);
        frag_s = (Button) view.findViewById(R.id.frag_s);
        frag_f = (Button) view.findViewById(R.id.frag_f);
        activity = getActivity();

        frag_f.setOnClickListener(this);
        frag_s.setOnClickListener(this);
        return view;
    }

    @Override
    public void onClick(View v) {

    }
}


